<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>新闻管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/style.css" />
<script src="__PUBLIC__/js/jquery.js" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/jquery.artDialog.js?skin=default" type="text/javascript"></script>
<script src="__PUBLIC__/artDialog/plugins/iframeTools.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/common.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/ajax.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/inputpost.js" type="text/javascript"></script>
</head>
<body>
<div id="main">
    <div class="nav">
        <input class="button01-out" type="button" onclick="location.href='__URL__/edit.html'" value="添加" />
        <input class="button01-out" type="button" id="checkall1" value="全选" />
        <input class="button01-out" type="button" id="checktog1" value="反选" />
        <input class="button01-out" type="button" id="checkoff1" value="取消" />
        <input onclick="myform.submit()" class="button01-out" type="button" value="删除" /> 
    </div>
<div class="table-list">
<div class="btn">当前分类 : <a href="__URL__/index.html">根目录</a> >> {$path}</div>
{if is_array($class)}<div class="btn">包含子分类 : {loop $class $value} <a href="__URL__/index-{$value['id']}.html">{$value['name']}</a> | {/loop}</div>{/if}
<form name="myform" action="__URL__/index.html" method="post">
<input type="hidden" name="action" value="alldel" />
<table width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
    <th class="one" width="20"><input id="all" type="checkbox" name="all" value="all" /></th>
    <th width="80">操作</th>
    <th width="30">评</th>
    <th width="30">审</th>
    <th>新闻标题</th>
    <th width="100">添加日期</th>
    <th width="40">投稿</th>
    <th width="30">新</th>
    <th width="30">定</th>
    <th class="last" width="30">荐</th>
</tr>
</thead>
<tbody>
{loop $info $key $rs}	
<tr{if $key%2} class="sys"{/if}>
    <td class="t-c" width="20"><input cssrain="one" type="checkbox" name="fid[]" value="{$rs['id']}" /></td>
    <td class="sys t-c">
        <a href="__URL__/read-{$rs['id']}.html" title="查看"><img src="__PUBLIC__/images/icon_page.gif" /></span>
        <a href="__URL__/edit-{$rs['id']}.html" title="编辑"><img src="__PUBLIC__/images/icon_edit.gif" /></a>
        <span class="del" uid="__URL__/index-{$rs['id']}.html" title="删除"><img src="__PUBLIC__/images/icon_del.gif" /></span>
    </td>
    <td class="t-c"><span class="pt goto" uid="__URL__/comment-{$rs['id']}.html">{if $rs['comment'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="t-c"><span class="pt goto" uid="__URL__/pass-{$rs['id']}.html">{if $rs['pass'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="t-l"><img src="__PUBLIC__/images/icon_li.gif" /> <a href="__URL__/read-{$rs['id']}.html" title="查看">{$rs['title']}</a></td>
    <td class="sys t-c">{date('Y-m-d',$rs['uptime'])}</td>
    <td class="t-c">{if $rs['userid']}投稿{else}原创{/if}</td>
    <td class="t-c"><span class="pt goto" uid="__URL__/news-{$rs['id']}.html">{if $rs['new'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="t-c"><span class="pt goto" uid="__URL__/top-{$rs['id']}.html">{if $rs['top'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
    <td class="last t-c"><span class="pt goto" uid="__URL__/best-{$rs['id']}.html">{if $rs['best'] == 1}<span class="hot">√</span>{else}×{/if}</span></td>
</tr>
{/loop}
</tbody>  
</table>
</form>
    <div class="btn h25">
        <div class="fn-right"><div id="pages">{$page}</div></div>
        <div class="fn-clear"></div>
    </div>
</div>
    </div>
</body>
</html>